import 'package:dio/dio.dart';
import 'package:wallpaper/http/dio_instance.dart';

// 个人接口，暂不开源
String baseUrl = '';
Future<Response> getBocchiWallpapers({
  required int page,
  required int limit,
  required String q,
  required int type,
  required String order,
}) {
  var params = {
    'page': page,
    'limit': limit,
    'q': q,
    'type': type,
    'order': order,
  };
  return DioInstance.instance()
      .get(path: baseUrl, param: params);
}

